@import './lib/reset.scss';

html, body, #root, .container {
  @include rect(100%, 100%);
	touch-action: none;
}
.container {
  @include flexbox();
  @include flex-direction(column);
  .box, .animated-router-container {
    @include flex();
    @include rect(100%, auto);
    @include flexbox();
    @include flex-direction(column);
    .header {
      @include rect(100%, 0.44rem);
			//2
      @include background-color(#F8584F);
    }
    .content {
      @include flex();
      @include rect(100%, auto);
      @include overflow();
			@include background-color(#fff);
    }
  }
  .footer {
    @include rect(100%, 0.5rem);
    @include background-color(#eee);

    ul {
      @include rect(100%, 100%);
      @include flexbox();
      li {
        @include flex();
        a {
          @include rect(100%, 100%);
          @include flexbox();
          @include flex-direction(column);
          @include justify-content();
          @include align-items();
          @include text-color(#333);
          span {
            @include font-size(0.24rem);
          }
          p {
            @include font-size(0.12rem);
          }

          &.active{
            @include text-color(#f00);
          }
        }
      }
    }
  }
}
.am-list-item img {
    width: 0.48rem;
    height: auto;
    vertical-align: middle;
}
@keyframes slide-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.outpage {
  animation: slide-left 0.5s;
}
